package xyz.riceball.generator.entity.dto;

import lombok.Data;

/**
 * <p>
 * 数据库配置
 * </p>
 *
 * @author xiaovcloud
 * @since 2022/5/20 13:19
 */
@Data
public class GeneratorConfigDTO {
    /**
     * 表名前缀
     */
    private String tablePrefix;
    public static final String TABLE_PREFIX = "tablePrefix";
    /**
     * 模块名
     */
    private String module;
    public static final String MODULE = "module";
    /**
     * 包路径
     */
    private String pkg;
    public static final String PKG = "pkg";
    /**
     * 作者
     */
    private String author = "riceball";
    public static final String AUTHOR = "author";
    /**
     * 生成文件的类型
     * 1 controller
     * 2 service
     * 3 serviceImpl
     * 下拉框 4 mapper 5dao
     *  6 xml
     * 7 po
     * 8 menu_sql
     * 9 react_index
     * 10 react_add
     * 11 vue_index
     * 12 vue_add
     */
    private String fileTypes;
    public static final String FILE_TYPES = "fileTypes";
    /**
     * 创建时间
     */
    private String createTime;
    public static final String CREATE_TIME = "createTime";
}
